package com.qfedu.food.config;

public class RedisKeyConfig {
    //短信验证码的key
    public static final String SMS_CODE="startcoding:sms:rcode:";//追加手机号
    public static final int SMS_CODE_TIMES=600;

    //存储令牌相关信息
    public static final String LOGIN_TOKEN="startcoding:user:tk:";//追加令牌
    public static final int LOGIN_TOKEN_TIMES=1800;
    public static final String LOGIN_PHONE="startcoding:user:ph:";//追加手机号
    //Hash类型 field:令牌 val:挤掉信息
    public static final String LOGIN_OUT="startcoding:user:ot";//记录挤掉的令牌信息

}
